/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.q1cc.cfs.jamp.players;

import java.io.File;
import java.io.IOException;
import net.q1cc.cfs.jamp.schema.Song;

/**
 *
 * @author claus
 */
public interface PlayerHandler {

    void destroy();

    void initPlayer();

    void play();

    void playSong(Song song);
    void playFile(String file);

    void playpause();

    void seek(long timeInMs);

    Status getStatus();

    void stop();
    
    long getPosition();
    long getDuration();
    
    public enum Status{
        STOPPED,STARTED,PLAYING,ERROR,INIT,PAUSED,ENDED
        
    }
}
